package com.woniu.atms.vo.pre.buyticket;


import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 用户进行站点模糊查询的输入数据视图
 */
@Getter
@Setter
public class SiteFuzzySearchVO {
    @NotNull(message = "关键字不能为null")
    @NotBlank(message = "关键字不能为纯空字符串")
    @Size(max = 50,min = 1,message = "关键字需在1-50字符之间")
    private String keyWord;
}
